#include "minus.h"

double Minus::value(double x)
{
	return (a_->value(x) - b_->value(x));
}

Minus::Minus(Function *a, Function *b) : a_(a), b_(b) {}

Minus::~Minus()
{
	delete a_;
	delete b_;
}

